<template>
  <div>
      <div v-for="(v,i) in this.$store.getters.newarr" :key="i">
          <div class="hezi">
          <img :src="v.img" alt="">
          <div class="wenzi">
             <h4>{{v.h1}}</h4>
             <van-rate v-model="value" /><span>{{value}}分</span>&nbsp;&nbsp;&nbsp;<span>{{v.h3}}</span>
             <p>{{v.h2}}</p>
          </div>       
         </div>
      </div>
  </div>
</template>

<script>
export default {
    data(){
       return{
           value:5,
       }
   },
    created(){
        this.$store.dispatch("link",{url:"/data/one"})
    },
    computed:{
        newtext(){
            return this.$store.state.text
        },
    },
   components:{
       
   },
}
</script>

<style scoped>
    .hezi{
        display: flex;
        height: 1rem;
       line-height: .3rem;
       margin-top: .1rem;
    }
    img{
        height: 1rem;
        width: 1rem;
    }
</style>